/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.source.service.weather;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.source.entity.weather.EleSourceWeather;
import com.thinkgem.jeesite.modules.source.dao.weather.EleSourceWeatherDao;

/**
 * 天气资源管理Service
 * @author ZC
 * @version 2017-06-19
 */
@Service
@Transactional(readOnly = true)
public class EleSourceWeatherService extends CrudService<EleSourceWeatherDao, EleSourceWeather> {

	public EleSourceWeather get(String id) {
		return super.get(id);
	}
	
	public List<EleSourceWeather> findList(EleSourceWeather eleSourceWeather) {
		return super.findList(eleSourceWeather);
	}
	
	public Page<EleSourceWeather> findPage(Page<EleSourceWeather> page, EleSourceWeather eleSourceWeather) {
		return super.findPage(page, eleSourceWeather);
	}
	
	@Transactional(readOnly = false)
	public void save(EleSourceWeather eleSourceWeather) {
		super.save(eleSourceWeather);
	}
	
	@Transactional(readOnly = false)
	public void delete(EleSourceWeather eleSourceWeather) {
		super.delete(eleSourceWeather);
	}
	
}